package com.njwb.pojo;

import lombok.Data;

@Data
public class Emp {
    //属性 --列名
    private Integer empNo;
    private String ename;
    private String job;
    private Integer mgr;
    private String hiredate;
    private Double sal;
    private Double comm;
    private Integer deptNo;

    //维系关系 多对一的关系
    private Dept dept;

}
